export default {
  //vuex的练习
  countAdd(state) {
    state.countss++;
  },
  countDe(state) {
    state.countss--;
  },
  increatCount(state, count) {
    state.countss+=count;
  },
  updateInfo(state) {
    //Vue.set(state.info, 'address', '洛杉矶')
    //修改姓名是没有问题的
    state.info.name='aaa'
    //render.set
  },

  //项目实操
  getUserNickname(state, nickname) {
    state.nickname = nickname;
  }
}